/**
 * Created by ayu on 2017/6/24.
 */
/**
 * 微信开发者账户信息
 */
const openid = 'oIPTPwXrH4oFXFwTE2zj5VjV7TFY';
const appid = 'wx330cf188604056d4';
const appsecret = '0cdba26b3d58c92d3196891e40123bf3';
const token = 'tuojin';
const encodingAESKey = '0wIKFlnKqsjyfuEwV8kMJOvF7GxYGVQjqLiTgmUd7SY';
const app = {appid, appsecret, token, encodingAESKey,};
// 获取微信基本接口调用凭证地址
const baseAccessTokenUrl = `https://api.weixin.qq.com/cgi-bin/token?grant_type=client_credential&appid=${appid}&secret=${appsecret}`;
// 自定义菜单接口 1、添加 2、查询 3、删除
const addMenuUrl = 'https://api.weixin.qq.com/cgi-bin/menu/create?access_token=';
const getMenuUrl = 'https://api.weixin.qq.com/cgi-bin/menu/get?access_token=';
const deleteMenuUrl = 'https://api.weixin.qq.com/cgi-bin/menu/delete?access_token=';
// 微信 jssdk
module.exports = {
    app               : app,
    baseAccessTokenUrl: baseAccessTokenUrl,
    menuUrl           : {addMenuUrl, getMenuUrl, deleteMenuUrl},
    dev_url           : 'runoob.s1.natapp.cc',
    openid            : openid,
};